package com.heifei

/**
 * @author caizhengjun01@gmail.com
 * @date 2020/8/3 8:10 下午
 */
object BlockExpDemo {
  def main(args: Array[String]): Unit = {
    val x = -1

    val result: Any = {
      if (x < 0) {
        10000
      } else if (x >= 1) {
        1.0
      } else {
        "error"
      }
    }
    println(result)
  }
}
